package com.mozai.shopping.pojo.http;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserReq {

    @NotBlank(message = "用户名 不能为空!")
    private String userName;

    @NotBlank(message = "密码 不能为空!")
    private String password;
}
